<?php

class Controller_Tagged extends Controller
{
	function __construct()
	{
		$this->model = new Model_Tagged();
		$this->view = new View();
	}

	function action_all()
	{	
		$data = $this->model->get_data();	
		$this->view->generate('tagged_view.php', 'template_view.php', $data);
	}
	function action_tag()
	{	
		$data = $this->model->get_tag_data();	
		$this->view->generate('tagged_gettag_view.php', 'template_view.php', $data);
	}

}